package com.hoshino.momochi.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Student {

    @TableId(value="id",type= IdType.ASSIGN_ID)
    public Long id;

    @TableField("name")
    public String name;

    @TableField("adminid")
    public Long adminid;

    @TableField(exist = false)
    public Admin admin;
}
